package com.suanfa8.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("COMPANY")
public class Company {

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer age;

    private String address;

    private Float salary;

    private Date joinDate;

    // 省略 getter 和 setter 方法
}